You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Math387 Class > Math387 Methods > Math387.Gcd Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Math387.Gcd Method

Greatest common divisor.

Syntax
C#
Visual Basic
public static int Gcd([In] int X, [In] int Y);

the greatest common divisor of X and Y. X and Y must be positive integers.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!